package org.example.campus_sys_backend.service;

import org.example.campus_sys_backend.mapper.UnitInfoMapper;
import org.example.campus_sys_backend.model.UnitInfo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UnitService {
    @Autowired
    private UnitInfoMapper unitInfoMapper;

    public Integer insertUnit(UnitInfo unitInfo){
        return unitInfoMapper.insertUnit(unitInfo);
    }

}
